#pragma once

#include <libge/libge.h>

class Client;

class MainMenu {
public:
	MainMenu(Client* cli);
	~MainMenu();
	void ShowOptions(bool show);
	void MultiplayerMenu();
	void Background(float* rx, float* rz);

private:
	Client* client;
	u32 ticks;
	float rx, rz;
	ge_Font* bigfont;
	ge_Scene* menu;
	ge_Image* title;
	ge_GuiWindow* win_main;
	ge_GuiWindow* win_multi;
	ge_GuiWindow* win_options;
	ge_GuiButton* b_solo;
	ge_GuiButton* b_multi;
	ge_GuiButton* b_options;
	ge_GuiButton* b_join;
	ge_GuiButton* b_add;
	ge_GuiButton* b_refresh;
	ge_GuiButton* b_edit;
	ge_GuiButton* b_remove;
	ge_GuiButton* b_cancel;
	ge_GuiListWidget* list;
	struct options {
		ge_GuiButton* done;
	} options;
};
